﻿@model DA.ERP_Orders

@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>ERP_Orders</legend>

    <div class="display-label">ERP_Users</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ERP_Users.Password)
    </div>

    <div class="display-label">ERP_Suppliers</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ERP_Suppliers.Name)
    </div>

    <div class="display-label">OrderDetails</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.OrderDetails)
    </div>

    <div class="display-label">Price</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Price)
    </div>

    <div class="display-label">PaymentMethod</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PaymentMethod)
    </div>

    <div class="display-label">BudgetSectionNumber</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.BudgetSectionNumber)
    </div>

    <div class="display-label">CreationDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CreationDate)
    </div>

    <div class="display-label">OrderStatus</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.OrderStatus)
    </div>

    <div class="display-label">ManagerUpdateDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ManagerUpdateDate)
    </div>

    <div class="display-label">ManagerNotes</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ManagerNotes)
    </div>

    <div class="display-label">OrderReason</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.OrderReason)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
